package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Ticket;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface ITicketService {

    //保存关联的价格
    void saveTicketPrice(Ticket ticket);
    Ticket getTicket(Long id);

    PageInfo<Ticket> query(QueryObject qo);

    void Update(Ticket ticket);

    void changeState(Integer type, Long id);
}
